<template>
    <view>
        <!--页面标题头begin-->
        <view class="smart-page-head">
            <view class="smart-page-head-title">map地图</view>
        </view>
        <!--页面标题头end-->
        <view>
            <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                latitude: 39.909,
                longitude: 116.39742,
                covers: [{
                    latitude: 39.909,
                    longitude: 116.39742,
                    iconPath: '../../static/location.png'
                }]
            }
        },
        methods: {}
    }
</script>
<style>
	.map{
		width: 100%;
		height: 300px;
	}

</style>



